import request from '@/utils/request'

export function submit(data) {
  return request({
    url: 'buss-measure/sceneTentative/add',
    method: 'post',
    data
  })
}

export function getOne(id) {
  return request.get('buss-measure/sceneTentative/getOne?id='+id)
}

export function getTablePage(data) {
  return request.post('buss-measure/sceneTentative/listPage', data)
}

export function del(ids) {
  return request({
    url: 'buss-measure/sceneTentative/del',
    method: 'post',
    data: ids
  })
}

export function resubmit(data) {
  return request({
    url: 'buss-measure/sceneTentative/edit',
    method: 'post',
    data
  })
}

export function getLeftTree(data) {
  return request.post('buss-contract/contractfiling/getLeftTree', data)
}
export function audit(data) {
  return request({
    url: 'buss-measure/sceneTentative/audit',
    method: 'post',
    data
  })
}


export function report(data) {
  return request({
    url: 'buss-measure/sceneTentative/report',
    method: 'post',
    data
  })
}
export default {
  submit,
  getOne,
  del,
  resubmit,
  getTablePage,
  getLeftTree,
  audit,
  report

}
